import { MutationTree } from 'vuex'
import { RooterState } from './state'
import { Products } from '@/api/products'

export default {
  setProductsMessage (state, value: Products[]) {
    state.productsMessage = value
  }
} as MutationTree<RooterState>
